//
//  BWUserDomain.h
//  BWCommonModelModule
//
//  Created by Xun on 2023/12/18.
//

#import <BWKit/BWBaseDomain.h>
#import <BWCommonModelModule/BWCustomDataDomain.h>
NS_ASSUME_NONNULL_BEGIN

@interface BWUserDomain : BWBaseDomain
@property(nonatomic, assign) int mId;          //消息存储id
@property(nonatomic, assign) int Type;
@property(nonatomic, assign) BOOL Activated;

@property(nonatomic, strong) NSString *EID;
@property(nonatomic, strong) NSString *Alias;
@property(nonatomic, strong) NSString *CellPhone;
@property(nonatomic, strong) NSString *City;
@property(nonatomic, strong) NSString *Country;
@property(nonatomic, strong) NSString *CreateTime;
@property(nonatomic, strong) NSString *Email;
@property(nonatomic, strong) NSString *Name;
@property(nonatomic, strong) NSString *NickName;
@property(nonatomic, strong) NSString *Province;
@property(nonatomic, strong) NSString *RegisterIp;
@property(nonatomic, strong) NSString *Custom;
@property(nonatomic, strong) BWCustomDataDomain *customData;

@property(nonatomic, strong) NSString *reserved1;
@property(nonatomic, strong) NSString *reserved2;
@property(nonatomic, strong) NSString *reserved3;

/// 保存一条记录
- (void)saveOrUpdate;

/// 根据userEID查找数据库中存储的BWUserDomain
+ (BWUserDomain *)findObjectByUserEID:(NSString *)userEID;
@end

NS_ASSUME_NONNULL_END
